home *** CD-ROM | disk | FTP | other *** search
/ Gamer's Paradise: Sports / Hracuv-raj-Sportovni-Hry.bin / Strategic Baseball Simulator / Baseball.doc < prev    next >
Encoding:
Text File  |  2000-01-08  |  46.3 KB  |  1,037 lines

  1.  
  2.                          
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                          STRATEGIC BASEBALL SIMULATOR
  10.                      Copyright 1988-2000  David B. Schmidt
  11.  
  12.                                    (SBS)
  13.                                 Version 3.41
  14.                                 January 2000
  15.  
  16.  
  17.                     E-Mail: DavidSchmidt@wrca.com
  18.                         or  dbschmidt1@yahoo.com
  19.  
  20.                     Web Page: http://www.geocities.com/dbschmidt1/
  21.  
  22.  
  23.  
  24.      Target Computers:
  25.         IBM or 100% Compatible.
  26.  
  27.      Files included in this package:
  28.         BASEBALL.EXE   - Strategic Baseball Simulator version 3.41
  29.         EDRNDAC.EXE    - Schedule File Editor
  30.         TE.EXE         - Public Domain Text Editor
  31.         BASEBALL.MSX   - announcer's play-by-play and comments
  32.         BASEBALL.DOC   - the file you are reading now
  33.         BASEBALL.CFG   - configuration file
  34.         BASEBALL.INF   - theory of operation
  35.         BASEBALL.ICO   - icon for Windows
  36.         FILE_ID.DIZ    - brief program description
  37.         VENDOR.DOC     - information for distributors
  38.         READ_ME.TXT    - general information
  39.  
  40.         Plus:
  41.         team .DAT files and .SCH / .SER schedule files
  42.  
  43.  
  44.  
  45.      Page 1
  46.                                 CONTENTS
  47.                                                                  Page
  48.      Introduction/Installation..................................... 2
  49.      About Shareware............................................... 3
  50.      Disclaimer.................................................... 3
  51.  
  52.                                Overview
  53.      Manual Mode (single-game)..................................... 4
  54.      Two-Team Simulations.......................................... 4
  55.      Schedule File Simulations..................................... 4
  56.      Series File Simulations....................................... 4
  57.      Statistics Reports............................................ 5
  58.  
  59.                             Selected Topics
  60.      Selecting Teams............................................... 5
  61.      Selecting Series Files........................................ 5
  62.      Selecting Schedule Files...................................... 5
  63.      Selecting starting pitchers................................... 5
  64.        Manual Mode................................................. 5
  65.        Two-Team.................................................... 5
  66.        Schedule/Series............................................. 5
  67.          Spot Starters............................................. 5
  68.      Designated Hitter............................................. 6
  69.      Statistics recording options.................................. 6
  70.        Statistics File............................................. 6
  71.        Focusing option............................................. 7
  72.        Line Score File............................................. 7
  73.        Box Score File.............................................. 7
  74.        Score Card File............................................. 7
  75.      Selecting starting lineups.................................... 8
  76.      Auto-Lineup option............................................ 8
  77.      Changing defensive positions.................................. 8
  78.      Other "Ground Rules".......................................... 8
  79.      Management options............................................ 9
  80.        Managing in Manual Mode..................................... 9
  81.        "Double-Switch" procedure...................................10
  82.        Computer Manages Both Sides.................................10
  83.      Understanding Schedule Files..................................10
  84.        Schedule Filter.............................................11
  85.        Example of Manageing Inside a Schedule File.................11
  86.      Understanding Series Files....................................11
  87.      Command Line examples.........................................12
  88.      Option switches list..........................................13
  89.      Analyzing the statistics and printing reports.................14
  90.      MAINTAINING and ENHANCING your teams..........................15
  91.        Adding team nicknames.......................................15
  92.        Adding first names to players...............................15
  93.        Platooning..................................................15
  94.        Pitcher Hitting Codes.......................................15
  95.      Notes on constructing your own teams..........................16
  96.      Configuration File - BASEBALL.CFG.............................16
  97.      Windows notes.................................................17
  98.      Support.......................................................18
  99.      Acknowledgements..............................................18
  100.  
  101.  
  102.      Page 2
  103.  
  104.      Program Pedigree:
  105.         1981 - FORTRAN for IBM VSE/ICCF Mainframes
  106.         1987 - Version 1.2  MS QuickBASIC 4.0
  107.         1988 - Version 1.3  MS QuickBASIC 3.0
  108.         1990 - Versions 1.4 & 1.5 - a few bug fixes - flexible DH
  109.         1993 - Version 2.01/02  MS BASIC 7.1 - Major revision -
  110.                new features including large simulation capability and
  111.                ability to save and compile statistics
  112.         1993 - Version 2.5  More flexibility; Capability to save or print
  113.                box scores/score cards/starbox's. Faster. Better display.
  114.         1993 - Version 2.51  Fixed "missing runner" bug in 2.5. Fixed
  115.                problem with detecting hitting streaks in BASESTAT.
  116.         1995 - Version 3.0  - Major revision
  117.                Loads stat files in memory for immediate access
  118.                New format Schedule Files by date
  119.                Improved play-by-play
  120.         1996 - Version 3.01 - Minor bug fixes
  121.         1998 - Version 3.1  - Complete support for inter-league play
  122.         1999 - Version 3.3  - Various enhancements
  123.         1999 - Version 3.4  - Improved "user-interface". Better accuracy.
  124.         2000 - Version 3.41 - Fixed bug for data files that didn't use the
  125.                "caught stealing" column.
  126.  
  127.      INTRODUCTION
  128.  
  129.      The Strategic Baseball Simulator (SBS) is a flexible, reasonably
  130.      thorough, yet relatively simple baseball simulation program. It is
  131.      a game in which one can play against another human or against the
  132.      computer manager. It can also be considered a simulation tool in
  133.      which many games are played out rapidly in order to discover
  134.      strengths and weaknesses in a particular line-up. This program is
  135.      NOT an arcade-type game with graphics. But if you are a baseball
  136.      fan it is FUN and -- to some -- addictive! SBS is very easy to use.
  137.      It cuts through the nonsense to get you into the action quickly.  A
  138.      game can be played manually in few minutes. Or use it to simulate
  139.      large numbers of games in a very short time.
  140.  
  141.      SBS works by reading in actual statistics for each player. The
  142.      program then runs a statistical model to simulate baseball. This
  143.      results is a good approximation, especially over a large number of
  144.      games. For a typical player/season of 600 at-bats, about 40% of
  145.      players will finish within 10 points of their actual average. About
  146.      75% will be within 20 points and about 95% will be within 40
  147.      points. With the "focusing" option enabled, the numbers given
  148.      above are significantly improved.
  149.  
  150.  
  151.      INSTALLATION
  152.  
  153.      Nothing fancy. Just make a subdirectory and copy the files.
  154.      DOS Commands:
  155.          1] create a subdirectory:
  156.             > md \SBS34
  157.  
  158.          2] log into the subdirectory you just created:
  159.             > cd \SBS34
  160.  
  161.          3] copy the files into the subdirectory you just created:
  162.             i.e., put source diskette in drive A [or B], then:
  163.             > copy a:*.*  [ or  copy b:*.* ]
  164.  
  165.      Start the program by entering "baseball" at the DOS prompt.
  166.  
  167.  
  168.      Page 3
  169.  
  170.      DEFINITION OF SHAREWARE
  171.  
  172.      This program is copyrighted shareware, but since there is no
  173.      registration fee, it is commonly called "freeware".
  174.  
  175.      Copyright laws apply to both Shareware and commercial software, and
  176.      the copyright holder retains all rights, with a few specific
  177.      exceptions as stated below. Shareware authors are accomplished
  178.      programmers, just like commercial authors, and the programs are of
  179.      comparable quality. (In both cases, there are good programs and bad
  180.      ones!) The main difference is in the method of distribution. The
  181.      author specifically grants the right to copy and distribute the
  182.      software, either to all and sundry or to a specific group.
  183.  
  184.  
  185.      DISCLAIMER - AGREEMENT
  186.  
  187.      Users of Strategic Baseball Simulator must accept this disclaimer
  188.      of warranty: "Strategic Baseball Simulator is supplied as is.  The
  189.      author disclaims all warranties, expressed or implied, including,
  190.      without limitation, the warranties of merchantability and of
  191.      fitness for any purpose. The author assumes no liability for
  192.      damages, direct or consequential, which may result from the use
  193.      of Strategic Baseball Simulator."
  194.  
  195.      Strategic Baseball Simulator is a copyrighted "shareware program",
  196.      but unlike most shareware progams, there is no registration fee.
  197.      The author would just like an email saying "thank you" along with
  198.      comments and suggestions.  Feel free to share it with your friends,
  199.      but please do not alter it in any way or as part of another system.
  200.  
  201.      The accompanying text editor, TE.EXE, that is distributed with SBS
  202.      3.xx is an example of Public Domain Software. We did not write it,
  203.      and claim no rights to it. We do not support TE.  <F5>, followed by
  204.      "Y" for yes and "1", "2", or "3" to indicate which parallel port
  205.      your printer is attached to (usually "1") lets you print the file
  206.      you are reading, and <F4> exits TE.
  207.  
  208.      Strategic Baseball Simulator makes NO references to actual
  209.      professional teams or leagues. No team nicknames and no actual
  210.      leagues or divisions are referenced. Player names have been
  211.      encrypted for the non-oldtimer players. You may edit the supplied
  212.      data files for your own use, but altered data files may NOT be
  213.      distributed.
  214.  
  215.      
  216.  
  217.      Page 4
  218.  
  219.                        OVERVIEW AND THE OPENING MENU
  220.  
  221.      You are presented with several options here.
  222.  
  223.  
  224.      MANUAL MODE
  225.  
  226.      Here you will select two teams. You can manage against the computer
  227.      or against a friend or you can manage both sides if you want. Or
  228.      you can tell the computer to manage both sides. "Manual Mode" puts
  229.      you in control.
  230.  
  231.  
  232.      TWO-TEAM SIMULATION
  233.  
  234.      Again you will select two teams. But in this mode, the object is to
  235.      let the computer manage both sides in order to simulate as many
  236.      games as you want as quickly as possible. This is great for trying
  237.      to compare which team is really "best". In baseball you need a
  238.      great number of games to played out before the statistics can
  239.      reveal a true picture. You will probably elect to create a
  240.      statistics file for your simulation so you can later review all the
  241.      stats. The simulation will start with the program running as fast
  242.      as it can. (Delay factor = 0). If you want to slow it down, you can
  243.      do so by popping up the Control window and changing the "Delay". You
  244.      can also type "R" (Results) during the run to check the Won-Lost
  245.      results and highlight summary.
  246.  
  247.  
  248.      SCHEDULE MODE
  249.  
  250.      In version 3.x, "schedules" are a little database containing games
  251.      to be played organized by dates. You may select one of the
  252.      schedules provided or create your own. Generally the computer will
  253.      play out these games as fast as it can, however you can select a
  254.      team or teams that you wish to manage manually (which will
  255.      temporarily put you in "manual mode"). You can interrupt the schedule
  256.      after any game and pick up where you left off next time. You may
  257.      also start and play the same schedule file multiple times. You just
  258.      specify unique statistics files to do this.
  259.  
  260.  
  261.      SERIES MODE
  262.  
  263.      This is similar to TWO-TEAM mode, but now the computer
  264.      automatically cranks through a pre-determined list of games. These
  265.      lists might be all 162 games for a given team or all the games for
  266.      an entire league. When you select the Series Mode, you are
  267.      presented with a list of "series files" to choose from. Series
  268.      files are nothing more than ASCII text files which list the teams
  269.      to play and how many games they are to play against each other.
  270.      [V]iew one of these files to see how they are set up. Then you can
  271.      create your own series files for your favorite teams using your
  272.      favorite text editor or word processor. You will doubtless want to
  273.      save statistics from your "Series Mode" simulations which you can
  274.      later examine. The simulation will start with the program running
  275.      as fast as it can. (Delay factor = 0). If you want to slow it down,
  276.      you can do so by popping up the Control window and changing the
  277.  
  278.  
  279.      Page 5
  280.  
  281.      Delay. You can also type "R" during the run to check the Won-Lost
  282.      results and highlight summary.
  283.  
  284.  
  285.      STATISTICS REPORTS
  286.  
  287.      Select a statistics file you have built (or are currently using)
  288.      and get a report.
  289.  
  290.  
  291.  
  292.                             SELECTED TOPICS
  293.  
  294.      SELECTING TEAMS
  295.  
  296.      All the files in your current directory with the extension of .DAT
  297.      are displayed. Just highlight the team you want by moving the arrow
  298.      keys and hit ENTER.  You may [V]iew or [E]dit these files by
  299.      highlighting them and typing V or E.  In order for the "E" to work,
  300.      SBS must find a text editor on your system. The editor "TE" is
  301.      included, but you can use other editors if you wish. This is done
  302.      by entering the line EDITOR=[file specification] into the
  303.      BASEBALL.CFG file. See the topic CONFIGURATION FILE - BASEBALL.CFG.
  304.  
  305.      SELECTING SERIES FILES
  306.  
  307.      Just like selecting teams, except the computer displays files with
  308.      the extension .SER. You can [V]iew or [E]dit these files, too.
  309.  
  310.      SELECTING SCHEDULE FILES
  311.  
  312.      As above, except the computer displays files with the extension
  313.      .SCH. You can [V]iew or [E]dit these files, too.
  314.  
  315.  
  316.      SELECTING STARTING PITCHERS
  317.  
  318.      Manual Mode:
  319.      Highlight the pitcher you want by moving the arrow keys and hit
  320.      enter.
  321.  
  322.      Two-Team Mode:
  323.      You can specify the exact pitching rotation. Highlighting the
  324.      pitchers you want and hitting enter builds your rotation list. When
  325.      you are done press ESC. Then you may press [O]k to accept, c[L]ear
  326.      or [C]ancel.
  327.  
  328.      Schedule/Series Mode:
  329.      You can go through the starting rotation sequentially, i.e. each
  330.      pitcher in turn, or let the computer pick starters at random, or
  331.      select one pitcher to start every game. First, pick the number of
  332.      starters in your rotation --- normally 4 or 5. Then select either
  333.      the Sequential or Random method ["S" or "R"]. When you choose
  334.      Sequential the pitching order is as it is recorded in the .DAT
  335.  
  336.  
  337.      Page 6
  338.  
  339.      file. You may edit the .DAT file with a text editor to change this
  340.      default order of pitchers if you want.
  341.  
  342.      Spot Starters:
  343.      If you select "Y" (yes) for this option, the computer will utilize
  344.      all the pitchers in the .DAT file as occasional starters if the
  345.      pitcher has a non-zero number of starts entered under his "Started"
  346.      column.  NOTE! The .DAT files for our OLD-TIMER teams probably will
  347.      NOT include this data so, sorry, this option won't work for them.
  348.      (Of course, you can always do your own research and fill in this
  349.      data yourself!)
  350.  
  351.  
  352.      THE DESIGNATED HITTER RULE
  353.  
  354.      You are always given the option of whether to use the Designated
  355.      Hitter. The default is NO except when both teams are from the
  356.      "A" League after 1974. Most of the "A" League teams of
  357.      the last two decades will have the DH included in their .DAT files.
  358.      For other teams, the computer will pluck the first player on the
  359.      "bench" and insert him in the lineup in slot number 5 as the DH. If
  360.      you are building your own series or schedule files it is always a
  361.      good idea to include the /DH switch on each line. But more about
  362.      building those files later.
  363.  
  364.  
  365.      STATISTICS RECORDING OPTIONS
  366.  
  367.      When the "Statistics Recording Options" window appears, you have
  368.      the opportunity to save STATISTICS, save the line-score, save the
  369.      BOX SCORE, or save the SCORE-CARD at the end of each game (Or any
  370.      combination of the above). If you save statistics you also have an
  371.      option called "Focusing". Focusing let's the computer "peek" at a
  372.      player's performance during execution of a stat file and help or
  373.      hinder him a bit accordingly.
  374.  
  375.      Leave the input fields blank if you do not want to save the
  376.      information. File names should be from 1 to 8 characters long. You
  377.      can keep adding information to the end of existing files or you can
  378.      erase old files and start fresh. If you want to erase a file, type
  379.      a "Y" under the "Erase File?" heading.
  380.  
  381.      Statistics File:
  382.      Don't use a "file extension" for the statistics file -- if you do
  383.      SBS will ignore it.
  384.  
  385.      SBS automatically generates several DOS statistics files for each
  386.      "stat" file you specify. A summary file with extension of .STS, a
  387.      batter file with extension .STB, a pitcher file with extension
  388.      .STP, a highlight file with extension .STH, a pitching rotation
  389.      file .ROT, a standings file .STD, a "restart" file .RES (so SBS
  390.      knows where in an associated schedule file to continue from).
  391.  
  392.  
  393.      Page 7
  394.  
  395.      Focusing:
  396.      This option is only applicable if you are using a statistics file!
  397.      If set to "Y" (yes), the program will look at how well each player
  398.      is performing in the current stat file. It will then give a little
  399.      extra "help" to players who are struggling and conversely make
  400.      things a little tougher on players who are too "hot". Focusing
  401.      allows the program to "cheat" a little in order to make the final
  402.      results more closely parallel the original .DAT file. Focusing
  403.      never goes into effect until a batter is more than 1/2 way through
  404.      a season (his Sim AB / .DAT AB must be greater than .5 -- for
  405.      pitchers IP is used). It is NOT necessary to use focusing in order
  406.      to get good results. SBS's statistical model works very nicely in
  407.      the "blind" mode as well! But for replaying an entire season
  408.      schedule you may want to use it.
  409.  
  410.  
  411.      Line Score File:
  412.      The LINE SCORE generated is just an ASCII text file containing the
  413.      line score by innings and the total runs, hits and errors for each
  414.      team.
  415.  
  416.      Box Score File:
  417.      The BOX SCORE file is just an ASCII text file dump of the box score
  418.      at the end of the game. You can view these box score files with any
  419.      word processor, text editor or file viewer.  Or, from DOS, just do
  420.                             more < filename
  421.      in the directory where the box score file is and
  422.      where "filename" is the name of your file you want to view.
  423.  
  424.      Score Card File:
  425.      The SCORE CARD file is an ASCII text "shorthand" log of the
  426.      play-by-play, not an actual scorecard. I usually do not save the
  427.      score card file because it tends to eat up quite a bit of disk
  428.      space. You probably don't want to do this on long simulations. See
  429.      the preceding paragraph on viewing text files.
  430.  
  431.      You may print out these reports automatically at the end of each
  432.      game by entering LPT1 (or 2 or 3) as the file name.
  433.  
  434.      Box scores for games in which outstanding performances occur may be
  435.      automatically saved in a file called STARBOX.TXT (or whatever you
  436.      wish to name it) in your current directory. See "CONFIGURATION FILE
  437.      - BASEBALL.CFG" on page 13 for more information.
  438.  
  439.  
  440.      Page 8
  441.  
  442.      SELECT STARTING LINEUPS
  443.  
  444.      For Manual Mode / Two-Team Simulations:
  445.      The default starting lineups are displayed for each team. You have
  446.      the opportunity to make changes in the lineup or batting order as
  447.      you see fit. The changes you make are temporary. (The team .DAT
  448.      files on disk do not change unless you edit them). You can swap
  449.      players between the starting lineup and the bench. You can change
  450.      the batting order also, as long as the game(s) has not started yet.
  451.      Swapping is done by just typing the numbers of the players you want
  452.      to switch.
  453.  
  454.      For Schedule / Series File Mode:
  455.      Since schedule and series files usually involve many teams it was
  456.      not feasible to allow manipulation of the lineups in these modes.
  457.      However you can always go back and edit the .DAT files directly to
  458.      change lineups to your liking. One exception to this -- you may
  459.      elect to manage selected teams MANUALLY under Schedule Mode. Then
  460.      you can fiddle with their lineups prior to each game.
  461.  
  462.      Auto-Lineup:
  463.      This feature allows the computer to pick various starting lineups,
  464.      not just use the default lineup in the .DAT file. This way the
  465.      bench is utilized much more realistically. For long, season-length
  466.      simulations this is the way to go. This feature works best on the
  467.      latest .DAT files that have Games By Position information on each
  468.      player's line. But the program will make a good attempt at using
  469.      this feature even on the old-timer teams where this data is not
  470.      available.
  471.  
  472.  
  473.      CHANGING DEFENSIVE POSITIONS
  474.  
  475.      For Manual Mode / Two-Team Simulations:
  476.      Once your starting lineup is intact, you may switch defensive
  477.      positions of the players if you like. This is done by typing the
  478.      numbers of the players you want to switch positions.
  479.      
  480.      Outfielders playing infield and vice-versa will be penalized
  481.      defensively!! Middle infielders playing at the corners will be
  482.      penalized as well as corner infielders playing in the middle. The
  483.      penalty is not too severe but you will notice an increase in the
  484.      number of errors committed by out-of-position players.
  485.  
  486.      This option is not available in "Schedule" or "Series" Mode. You
  487.      must edit the .DAT file directly.
  488.  
  489.  
  490.      SELECTING WHO MANAGES WHOM - OTHER "GROUND RULES"
  491.  
  492.      In the "Ground Rules" screen [Manual Mode] you decide whether the
  493.      computer will manager either, both, or none of the teams. [For
  494.      teams which are manually controlled, the player(s) use "pop-up"
  495.      command windows throughout the game that let them control their
  496.      offensive or defensive options]. You will also determine the "Delay
  497.      Factor". This determines how long you have to read the announcer's
  498.      comments which determines the speed of the simulation. Try "2" or
  499.  
  500.  
  501.      Page 9
  502.  
  503.      "3" to start out with. If this is a little too slow for you, change
  504.      it to "1" later. The last thing you are asked before the game
  505.      starts is if you want the computer to HIDE the decisions you make
  506.      within the pop-up command windows. You should only elect to HIDE if
  507.      you are managing against another human player who might "steal"
  508.      your signals.
  509.  
  510.  
  511.      MANAGING IN MANUAL MODE
  512.  
  513.      "Normal mode"
  514.  
  515.      If the computer is managing one or both sides OR you decline to
  516.      "hide" your strategy before the game starts you'll be in "normal"
  517.      mode. You control The "command window" by hitting V for visitor
  518.      and H for home. Just use the arrows to select the strategy you
  519.      want and ESC to close the window. Of course most of the time
  520.      you'll just be hitting ENTER and proceding with the action rather
  521.      than popping up the command window.
  522.   
  523.  
  524.      "Hide mode"
  525.  
  526.      If the computer is NOT managing EITHER side you are asked (before
  527.      the game starts) if there is another player beside yourself. If
  528.      there is you may choose to "hide" the strategy decisions you make
  529.      within the "command window". The visiting team's command window is
  530.      activated by hitting "S". This displays a list of either offensive
  531.      or defensive actions.
  532.  
  533.       Keyboard:
  534.  
  535.          W         > Scroll through your options using the "W" and "X" keys.
  536.                    > "Mark" the options (On or Off) using the "A" and "D"
  537.      A    S    D       keys (A=On  D=Off)
  538.                    > The computer WILL NOT DISPLAY the results
  539.            X         of the "A" and "D" keys (on/off) in order to HIDE your
  540.                      decisions from your opponent.
  541.                    > Move the pointer to "READY/EXIT" and hit "A" when done.
  542.                     
  543.      The home team's command window is activated by hitting the "5" key. (SBS
  544.      attempts to turn on your numeric-lock so you can use your numeric keypad).
  545.  
  546.           8        > Scroll through your options using the "8" and "2" keys.
  547.                    > "Mark" the options (On or Off) using the "4" and "6" keys.
  548.      4    5    6       (4=On  6=Off)
  549.                    > The computer WILL NOT DISPLAY the results
  550.           2          of the "4" and "6" keys (on/off) in order to HIDE your
  551.                      decisions from your opponent.
  552.                    > Move the pointer to "READY/EXIT" and hit "4" when done.
  553.                      Or, if your opponent is the computer, just hit ESC.
  554.  
  555.      Remember, if you don't want to make a strategy move (which is most
  556.      of the time) just hit ENTER.
  557.  
  558.  
  559.      To quit the game, hit "Q". (You get a chance to change your mind.)
  560.      To get the current "Box Score" hit "B".
  561.      To check the "Score Card" hit "C".
  562.  
  563.  
  564.      Page 10
  565.  
  566.      If you change your mind about which teams the computer should
  567.      manage, hit "O" and the "Options" window appears in the middle of
  568.      the screen. You can also change the Delay Factor and turn the Sound
  569.      Effects on or off.
  570.  
  571.      All of the options in your Options window are self-explanatory
  572.      (except for "Focusing"), but you will need the following special
  573.      instructions if you want to do a "double-switch" maneuver.
  574.  
  575.  
  576.      "DOUBLE-SWITCH"  - Only valid with no DH, i.e. pitcher must be in
  577.                         batting order
  578.  
  579.      1) Get new pitcher from bullpen.
  580.      2) Immediately pop up the "Substitute" window and switch in a new
  581.         defensive player. THEN type "DS" (for Double-Switch) while still
  582.         in the Substitute window. This will place the new pitcher in the
  583.         batting slot previously occupied by the outgoing player and the
  584.         new defensive player into the old pitcher's batting slot.
  585.  
  586.  
  587.      LETTING THE COMPUTER MANAGE BOTH SIDES
  588.  
  589.      If you pick the automatic manager for BOTH teams, you will have no
  590.      input into the game yourself...all you do is sit back and watch the
  591.      game unfold. You may hit "O" (for Option Window) to halt the
  592.      action at any time. Then you may choose to reset the "AutoManger"
  593.      for either or both teams or change the "Delay Factor". If you want
  594.      to follow the action you probably want to set the Delay at 2 or 3.
  595.      If you want to play the game out as quickly as possible, set it at
  596.      "1" or even "0". With AutoManager on "Y" for both sides and a Delay
  597.      of "0" the game will be played out in a matter of a second or two.
  598.  
  599.  
  600.      UNDERSTANDING SCHEDULE FILES
  601.  
  602.      "Schedule Files" are the primary method you will want to use to
  603.      play long, involved "schedules" of games. Normally you run these
  604.      schedules as fast as possible except perhaps for games you want to
  605.      manage manually. You can run and/or edit any schedule files
  606.      provided or you may build your own. From the main menu, choose the
  607.      Schedule Files option. You may pick an existing file or choose to
  608.      edit/view one by pressing "E".
  609.  
  610.      If you choose to edit one of these .SCH files, notice that they are
  611.      arranged by date. Highlight and enter a date or press INSERT to add
  612.      a new date. Then you may specify the file names of the teams to
  613.      play and any special "switches". See UNDERSTANDING SERIES FILES for
  614.      more information about these options.
  615.  
  616.      Two switches (only valid for schedule files) are the /VM: and /HM:
  617.      options. They allow you to manually manage teams of your choice.
  618.  
  619.      /VM:+    adds visiting team to manual manage list
  620.      /VM:-    removes visiting team from manual manage list
  621.      /HM:+    adds home team to manual manage list
  622.      /HM:-    removes home team from manual manage list
  623.  
  624.  
  625.      Page 11
  626.  
  627.      Schedule Filter:
  628.      You don't have to run all the games in a schedule file. After you
  629.      pick your .SCH file, the "Schedule Filter" window pops up to allow
  630.      you to run just the games for a single league, team and/or date range.
  631.      Leave this blank to go ahead and run all the games. Fill in the
  632.      .DAT file name for your favorite team if that's what you want.
  633.      (Don't type the .DAT part here). The naming conventions for .DAT
  634.      files are Year + League + 1st 5 characters of city/location. So the
  635.      1997 team from New York in the "A" League would be named
  636.      97ANEWYO.DAT. The team from St. Louis would be 97NSTLOU.DAT. Dates
  637.      should be entered in MM/DD/YY format, e.g. 04/09/97. Make sure the
  638.      dates inside your .SCH file are maintained in this format also.
  639.  
  640.      You probably won't want to run a long schedule file in one sitting.
  641.      So, IF YOU HAVE SPECIFIED A STATISTICS FILE to save info for this
  642.      schedule run, you can press Q (for quit) while a schedule file is
  643.      running and the action will stop after the current game is
  644.      completed. Next time you start SBS you can RESTART where you left
  645.      off when you pick the schedule file and the same statistics file.
  646.  
  647.      Example of manageing inside a schedule file:
  648.      EXAMPLE: You want to run the 97ML.SCH and manage Texas (97ATEXAS).
  649.  
  650.      1. Highlight the .SCH file 97ML and press "E" to edit.
  651.      2. Highlight the date that you want to start manageing this team
  652.      manually. Let's say 04/10/97. Hit ENTER.
  653.      3. Find 97ATEXAS -- use the arrow keys to get in the options area.
  654.      4. Since Texas is the visiting team here, type in /VM:+. Hit ESC.
  655.      5. If you want to remove Texas from the Manual Manage List at a
  656.      later date, highlight that date and enter /VM:- or /HM:-
  657.  
  658.  
  659.      UNDERSTANDING SERIES FILES
  660.  
  661.      "Series Files" are another vehicle through which SBS knows to play
  662.      certain teams a certain number of games. The series file is just a
  663.      text file with a file extension of .SER that you can build yourself
  664.      with your text-editor program or word processor. It contains the
  665.      teams and number of games they are to play and other information if
  666.      desired. YOU CANNOT STOP AND THEN RESUME SERIES FILES LIKE YOU
  667.      CAN SCHEDULE FILES! If you quit a series file before it completes,
  668.      you're done.
  669.  
  670.      Options are entered via "switches". The order of the
  671.      switches should not matter.  For example, one such series file
  672.      might contain the following lines:
  673.  
  674.      /v:97nnewyo.dat  /h:97nstlou.dat   /n:9
  675.      /v:97nnewyo.dat  /h:97nchica.dat   /n:9
  676.      (etc. etc. through all the "E" Division teams)
  677.  
  678.      /v:97nnewyo.dat  /h:97ncinci.dat   /n:6  /hp:S4
  679.      /v:97nnewyo.dat  /h:97natlan.dat   /n:6
  680.      (etc. etc. through all the "W" Division teams)
  681.  
  682.  
  683.      Page 12
  684.  
  685.      The /v: means, as you probably guessed, the visiting team. And of
  686.      course the /h: means the home team.  The number following the /n:
  687.      determines the number of games. You can also use the /vp: and /hp:
  688.      switches to override the default starting pitching rotation scheme
  689.      which was discussed earlier.  But, at a minimum, each line in a
  690.      series file must contain the /h: /v: and /n: switches.
  691.  
  692.      You can use these switches to override the normal starting rotation
  693.      method you pick in the program. See the example above -- with the
  694.      /hp: and /vp: switches. You can also override whatever you choose
  695.      on the DH rule with the /dh: switch. (See listing of command-line
  696.      options for more details).
  697.  
  698.  
  699.      COMMAND LINE EXAMPLES
  700.  
  701.      You may never want to start SBS using "command line" options, but
  702.      they are available. They might be useful if you intend to run SBS
  703.      from a batch file. Note that you can basically use the same
  704.      switches from either the command line or inside a schedule file.
  705.      Here are a few scenarios showing the use of command line options.
  706.  
  707.      Example 1: You want to play 12 games with the '27 A New York
  708.      visiting the '61 A New York. You don't want the DH. You want each
  709.      team to cycle through a 4-man pitching rotation.  You want to save
  710.      the results to a statistics file named "styanks".
  711.  
  712.      >baseball /v:27anewyo /h:61anewyo /sp:S4 /dh:n /st:styanks /n:12
  713.  
  714.      The /V and /H switches load the visiting and home teams
  715.      respectively. If you leave off the file extension on the team
  716.      files, the program assumes .DAT. The /SP switch sets both teams to
  717.      use S4 -- Sequential four-man rotation. If you omit the /SP switch
  718.      the default is S5 for both teams - a five-man rotation. /DH:N
  719.      forces NO DH, although if you leave if off the default is NO DH
  720.      anyway. /ST gives the name of the statistics file you choose. (File
  721.      extensions on /ST are ignored). The statistics file "styanks" will
  722.      be created as four separate files - STYANKS.STS, STYANKS.STB,
  723.      STYANKS.STP, STYANKS.STH. /N:12 says to play 12 games.
  724.  
  725.      Example 2: Suppose we want the '27 A NY to use a 3-man rotation.
  726.  
  727.      >baseball /v:27anewyo /h:61anewyo /vp:S3 /hp:S4 /st:styanks /n:12
  728.  
  729.      Since the pitching rotation is different for each team, we have to
  730.      use the /VP and /HP switches instead of /SP.  Notice that if we
  731.      don't want the DH we don't need to specify the /DH switch.
  732.  
  733.      Example 3: You want to simulate the entire '97 season.
  734.      A 5-man rotation is OK for all teams. Save statistics to "st97".
  735.  
  736.      >baseball /sch:97ml.sch /st:st97 /bx:st97.box
  737.  
  738.  
  739.      Page 13
  740.  
  741.      The /SCH switch specifies the name of the schedule file which MUST
  742.      ALREADY EXIST. The /ST switch will save the statistics to DOS
  743.      files -- ST97.STS, ST97.STB, ST97.STP, and ST97.STH.
  744.      All box scores saved to ST97.BOX.
  745.  
  746.  
  747.      OPTION SWITCHES LIST
  748.  
  749.      Here is a list of all the switches that can be set from the DOS command
  750.      line or inside a "Schedule" or "Series" file. You may enter as many
  751.      switches as you need. Each one must be separated by a space. Each
  752.      line in a Series file must contain, at a minimum, the /H: /V: and
  753.      /N: switches.
  754.  
  755.      On switches that take a "Y" or "N" argument, you can save space by
  756.      omitting the :Y if you want "yes". For example: /DH is equivalent
  757.      to /DH:Y.
  758.  
  759.      /P:path
  760.          If your .DAT files reside in some other drive or directory
  761.          other than the one where "BASEBALL.EXE" is, you need the /P:
  762.          Example: >baseball /p:b:      (.DAT files are in drive b)
  763.                   >baseball /p:\nat91  (.DAT files in \nat91 subdirectory)
  764.      /PW:path WRITE
  765.          Saves all your OUTPUT stat files to the path you specify here.
  766.          Useful if SBS is installed in a write-protected network directory.
  767.          Also very handy to keep all your stat files in a separate directory
  768.          for easy backup!
  769.          Example: >baseball /pw:c:\mystats
  770.      /H:team.dat  (home)
  771.      /V:team.dat  (visitor)
  772.      /DH:Y or N   (default is N)
  773.      /SCH:schedule file  (command line only)
  774.      /N:number of games  (default is 1)
  775.      /SP:S5-S2  or  R5-R2  or  1-5
  776.          Default Starting Pitcher Selection Method: If you are
  777.          simulating many games, there are different ways the computer
  778.          uses to pick the starting pitcher. If you do not specify the
  779.          /SP switch, program defaults to S5, sequential 5-man rotation.
  780.      /VP: (same as SP)   Override /SP for the Visiting Team in /V:
  781.      /HP: (same as SP)   Override /SP for the Home Team in /H:
  782.      /S:Y or N  Turns Sound Effects On or Off
  783.      /C:C or M  Force Color or Monochrome display. The program should be
  784.           smart enough to figure this out without relying on this switch.
  785.      /ST:statistics file.
  786.          This file name may be 1 to 8 characters long. Do NOT use a file
  787.          extension.
  788.      /BX:box score file. File extensions OK.
  789.      /SC:score card file. File extensions OK.
  790.      /STB:StarBox file. File extensions OK.
  791.      /DEL:delay factor  0-9  How long (in seconds) you get to read the
  792.           play-by-play
  793.      /SPT Spot Starters
  794.      /FOC Focusing
  795.      /AUL Automatic Lineup
  796.  
  797.  
  798.      Page 14
  799.  
  800.      For Schedule Files Only:
  801.      /VM:+ or -  Inserts or Removes Visiting Team in Manual Manage List
  802.      /HM:+ or -  Inserts or Removes Home Team in Manual Manage List
  803.  
  804.  
  805.      ANALYZING THE STATISTICS and PRINTING REPORTS
  806.  
  807.      Choose the stat file you want to analyze and SBS will then
  808.      summarize the results and print them out directly or to a .PRN file
  809.      on disk.
  810.  
  811.      You can also send the .PRN files to your printer at
  812.      your convenience at a later time.
  813.  
  814.        + - - - - - - - DOS commands you should know: - - - - - - +
  815.        |                                                         |
  816.        | Viewing a file:  type "filename.ext" | more             |
  817.        |                  more < "filename.ext"                  |
  818.        | Printing a file: type "filename.ext" > LPT1             |
  819.        |                  copy "filename.ext" PRN                |
  820.        |                                                         |
  821.        + - - - - - - (do not type the quotations marks)  - - - - +
  822.  
  823.  
  824.  
  825.  
  826.      Page 15
  827.  
  828.      MAINTAINING and ENHANCING YOUR TEAMS (or build your own teams!)
  829.  
  830.      You can change information on the team files or make up your own
  831.      teams using any text editor.  Just about any word processor will do
  832.      also, but make SURE you save the file in plain ASCII format. This
  833.      is sometimes called DOS MODE or NON-DOCUMENT MODE or some-such
  834.      thing. Or use TE, the included public-domain editor. Make sure you
  835.      follow the exact format used in the team files supplied. Everything
  836.      has to be in its own particular column, etc. The best way is to
  837.      copy one of the .DAT files you already have and then edit the new
  838.      copy.
  839.  
  840.      Team Nicknames:
  841.      Nicknames have purposely been omitted but you can add them
  842.      yourself. The first line contains the codes for the team's league
  843.      and division as well as the name of the team. If you want to change
  844.      the name of the team (use its nickname for example), edit this line
  845.      starting in column 11.
  846.  
  847.      Players' Names:
  848.      Names of active players have been scrambled. However, you can
  849.      easily edit these names yourself also.
  850.  
  851.      Platooning:
  852.      "Platooning" is when a manager starts a right-handed hitting player
  853.      against left-handed pitching, but benches him in favor of a left-
  854.      handed hitting player against right-handed pitching. SBS supports
  855.      this in the following manner by direct editing of the .DAT files.
  856.      Type an "A" in column 5 of the .DAT file next to the player in the
  857.      starting lineup. Then type an "A" in column 5 next to the player on
  858.      the bench that you want to platoon with him. Neither player should
  859.      be a switch hitter. If there are more players you want to platoon
  860.      at the same time match them up with a "B" and so on. When SBS
  861.      displays the starting lineup it will swap the marked players
  862.      depending on the "handed-ness" of the opposing pitcher. SBS will
  863.      not do "platoon-swapping" after pitching changes while a game is
  864.      in progress. If column 5 of a player's record is marked, SBS
  865.      assumes that his statistics were generated primarily against
  866.      opposite-handed pitchers, so his average is not "boosted", as would
  867.      be the case of straight lefties vs righties, and vice-versa.
  868.  
  869.      Pitcher Hitting Codes:
  870.      SBS does not contain batting data for pitchers. If you are not
  871.      satisfied with the default values (.140 average) for pitchers, you
  872.      can edit the .DAT files and insert a special code into a pitcher's
  873.      line. Just place an A, B, C, D or E in column 81 to represent the
  874.      following batting averages for pitchers:
  875.           A = .240
  876.           B = .190
  877.           C = .140
  878.           D = .090
  879.           E = .040
  880.  
  881.  
  882.      Page 16
  883.  
  884.      NOTES ON CONSTRUCTING YOUR OWN TEAMS
  885.  
  886.      Slots 1 thru 9 are the default starting lineup and batting order.
  887.      If you do not want a DH in your default starting lineup, leave slot
  888.      9 blank like I have in my "N" League files.
  889.  
  890.      Slots 10 thru 14 are for starting pitchers. Relief pitchers begin
  891.      in slot 15, although #14 can be used in relief if desired. You may
  892.      have as few as 2 or as many as 8 relief pitchers. The man in slot
  893.      15 will be your "closer" -- the guy who comes in in the late
  894.      innings to try to nail down a save. After the relief pitchers there
  895.      should be a line beginning with a "*" and then the "bench". You may
  896.      fill out the bench down to slot 30. This allows a roster of 30
  897.      players if a DH is specified in the lineup or 29 players if not
  898.      (that's because slot 9 is wasted if the DH is not used).
  899.  
  900.      If you do not include a DH in the default starting lineup, and then
  901.      choose to use a DH in the program, the first player on the bench
  902.      will be inserted as the DH into the number five spot.
  903.  
  904.      A Reminder:
  905.      If you are adding your own team files, you must use the file extension
  906.      .DAT for your data file. You may store up to 900 teams in a given
  907.      subdirectory. If your team .DAT files are in a different subdirectory
  908.      than the BASEBALL.EXE, you must start the program with the path switch.
  909.      For example, if your .DAT files are in a subdirectory called \bbal you
  910.      would start the game with: baseball /p:\bbal
  911.  
  912.  
  913.      CONFIGURATION FILE - BASEBALL.CFG
  914.  
  915.      This is an important file, although SBS will run without it. The
  916.      configuration file contains information about each league for a
  917.      given year. This enables SBS to reduce "bias" of one era versus
  918.      another. These stats are used to compute "League Average" values
  919.      for a given league/year -- see discussion in BASEBALL.INF. If there
  920.      is no .CFG file, SBS uses some "hard-coded" values which reflect
  921.      recent-era data. If the team you select is from a year or league
  922.      that is not covered in the .CFG file, then SBS uses the default
  923.      values contained in the file -- the DEF A and DEF N lines. If you
  924.      choose to edit this file, keep the columns lined up correctly!
  925.  
  926.      You may also control the standards which determine when a game's
  927.      box score is saved to your "STARBOX" file. This is done in the
  928.      HILITE line. For example, if you want to save the box score if
  929.      someone gets 5 or more hits you would enter "5" under Hits. If you
  930.      want to save box scores of pitching gems of 3-hitters or better
  931.      enter a "3" under the PHit column.
  932.  
  933.  
  934.      Page 17
  935.  
  936.      Here are some sample lines from the .CFG file for reference and
  937.      the columns in which these values must fall:
  938.  
  939.      columns    11-16  18-23  25-30  32-37  39-44  46-51
  940.  
  941.      Hiline line example:
  942.      *        |  Hits|    HR|   RBI|    SB|  PHit|    SO|
  943.      HILITE   |     5|     3|     7|     3|     2|    14|
  944.  
  945.      Year/League summary line example:
  946.      *Yr L    |  Inn |  Hits|    2B|    3B|    HR|    BB|
  947.      1902A    |  9732| 10451|  1679|   569|   258|  2815|
  948.  
  949.      As mentioned earlier, this file may also contain the "path" to your
  950.      text-editor. 
  951.      EDITOR=path to editor program
  952.      
  953.      If your printer is on another port beside LPT1, you can specify
  954.      this as follows:
  955.      LPT=2  (or 3)
  956.  
  957.      If SBS is installed on a network, the statistics files generated
  958.      will obviously need to be written to a space with "write"
  959.      privileges. Just enter the lines:
  960.      WRITE-PATH=c:\stats    (or whatever path you want)
  961.      PROTECT-SCH
  962.  
  963.      Microsoft WINDOWS
  964.  
  965.      It can be very nice to run a long SBS simulation in the
  966.      "background" under Windows. You can allows the application to run
  967.      in the "background" while you run other programs. I recommend
  968.      running the program in "full-screen" mode, although you can toggle
  969.      to "windowed" mode with ALT+ENTER if you want. Included in this
  970.      package is BASEBALL.ICO, an icon for SBS to use with Windows.
  971.  
  972.      How to set up an icon for SBS under Windows 3.1:
  973.      (This also assumes the program is installed in c:\sbs34)
  974.      From Program Manager Menu:
  975.       1)  File
  976.       2)  New
  977.       3)  Program Item [OK]
  978.       4)    Description:       SBS 3.4
  979.             Command Line:      c:\sbs34\baseball.exe
  980.             Working Directory: c:\sbs34
  981.       5)  Click the "Change Icon" button
  982.             Filename:          c:\sbs34\baseball.ico
  983.  
  984.      How to set up an icon for SBS under Windows 95:
  985.      Right-click on your "desktop". Select New... Shortcut
  986.      Command Line: C:\SBS34\BASEBALL.EXE. Run in Full-Screen mode by
  987.      clicking the little cross on the toolbar of the DOS Window.
  988.  
  989.  
  990.  
  991.      Page 18
  992.  
  993.      SUPPORT
  994.  
  995.      The author loves feedback from users!  Write to the address below or
  996.      contact me via E-Mail.
  997.  
  998.      Here's the address:
  999.      D.B. Schmidt                 If this doesn't match the address on
  1000.      2905 N. 39th Terrace         the opening screen, suspect tampering.
  1001.      St. Joseph, Missouri 64506
  1002.  
  1003.      E-mail: davidschmidt@wrca.com
  1004.          or  dbschmidt1@yahoo.com
  1005.  
  1006.      Web Page: http://www.geocities.com/dbschmidt1/
  1007.  
  1008.  
  1009.  
  1010.      ACKNOWLEDGEMENTS
  1011.  
  1012.      Microsoft's BASIC development personnel.
  1013.  
  1014.      Thomas Hanlin III for his excellent ADVBAS routines. Highly
  1015.      recommended. ADVBAS is a library of BASIC routines available by
  1016.      shareware. SBS makes good use of a number of these routines.
  1017.  
  1018.      Ethan Winer for his superb book "BASIC Techniques and Utilities".
  1019.  
  1020.      Brandon Cope of Eagle Lake, TX who compiled the 1998/99 teams and many
  1021.      other teams as well. Also his de-bugging work was very helpful.
  1022.  
  1023.      Craig J. Poff of Beaufort, SC who contributed team data and provided
  1024.      much encouragement and support.
  1025.  
  1026.      Thomas Riggs of Longview, TX who researched teams for early
  1027.      versions of this program.
  1028.  
  1029.      SPECIAL thanks to Robert Logbeck of Overland Park, KS. He built
  1030.      most of the old-timer teams and and researched most of that data in
  1031.      the .CFG file and found lots of program glitches which I failed to
  1032.      detect. Without his help SBS would be a much poorer work.
  1033.  
  1034.      And finally thanks to all the rest of you who wrote and offered
  1035.      suggestions and encouragement.
  1036.  
  1037.